package com.haiyu.manager.dao;

import com.haiyu.manager.dto.TalkDTO;
import com.haiyu.manager.pojo.Talk;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mapper.MyMapper;

import java.util.List;

@Repository
public interface TalkMapper extends MyMapper<Talk> {
    List<TalkDTO> getTalkList();

    int updateTalkStatus(@Param("talkId") Integer talkId, @Param("houtaiStatus") Integer houtaiStatus);
}
